<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.workout.DiaryListFragment">

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/recyclerView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginLeft="16dp"
        android:layout_marginRight="16dp"
        app:layoutManager="LinearLayoutManager"
        tools:context=".ui.workout.DiaryListFragment"
        tools:listitem="@layout/fragment_diary" />

    <!-- Кнопка создания нового дневника -->
    <Button
        android:id="@+id/createDiaryButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Новая запись"
        app:layout_anchor="@id/recyclerView"
        app:layout_anchorGravity="bottom|center_horizontal"
        android:layout_margin="64dp" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
